import {createRouter, createWebHashHistory} from 'vue-router'
import Index from '@/index/index.vue'

const routes = [
    {path: '', component: Index},
    {path: '/online', component: () => import('@/components/IvzOnline.vue'), children: [
            {path: '', component: () => import('@/components/container/IvzBasicContainer.vue')},
            // {path: 'table', component: () => import('@/components/container/IvzTableContainer.vue')}
        ]
    }
]

const router = createRouter({
    routes, // `routes: routes` 的缩写
    history: createWebHashHistory(),
})

export default router
